package com.eureka.collector;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;








@RestController
public class HelloController {	 
	    
	 Logger logger = LoggerFactory.getLogger(HelloController.class);

	   
	    
	    @RequestMapping("/hello")
	    public String hello() {
	       
	        //打印服务的服务id
	        logger.info("********************************" );
	        return "hello,this is hello-service";
	    }
}
